package com.spn.blog.api.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.Map;

/**
 * 服务器发送给浏览器的msg
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
public class MessageVo {
//    @JsonFormat(pattern = "yyyy-MM-dd- HH:mm:ss", timezone = "GMT+8")
    private Date date;
    private String text;
    private Boolean mine;
    private String name;
    private String img;
    private String to;
    private String from;
}